Mean Value Theorem

Aside: There is no proof offered here. The proof is easy and easy to find online. If you are not already versed in derivatives, you may not find this very useful. Later, we are going to cite the mean value theorem in a discussion of arc lengths to justify replacing a slope with a derivative.

Theorem: If $f(x)$ is defined and continuous on the closed interval $[a,b]$ and differentiable on the open interval $(a,b)$, then at least one number, $P_{x}$, must exist on $(a,b)$ such that $$f^{\prime}(P_{x})=\frac{f(b)-f(a)}{b-a}.$$

Suppose we have two points, point $A(a,f(a)),$ and point $B(b,f(b)).$ These two points are in the $xy$ plane and they do not share the same $y$ value. If they did, then the secant between them would be vertical and not differentiable. So draw the secant line that connects the two points. It has a slope defined by $$m=\frac{f(b)-f(a)}{b-a}.$$

MeanValueTheorem.png
Figure 1: The mean value theorem says that if there is a continuous differentiable curve between points $A$ & $B$, that there will exist a point $(c,f(c))$ on the curve whose tangent line is parallel to the secant between $A$ and $B$.

Next we can draw a curve between the two points. It can be nearly any curve, but to keep with the theorem, we will require it to be differentiable between $a$ and $b$. The theorem just says that somewhere on that curve, the tangent line will have exactly the same slope as our secant. That is, somewhere $f^{\prime}=m.$ The idea is shown graphically in fig. 1. $$\Delta y=f^{\prime}(x_{i})\cdot\Delta x \tag{1} \label{1}$$ From the theorem, we can find the point $(c,f(c))$ in figure 1. From $\eqref{1}$ and where $m$ is the slope of the secant line, $$f^{\prime}(c)=\frac{\Delta y}{\Delta x}\Longrightarrow\frac{dy}{dx}=m$$

Example: Given $f(x)=2(x-3)^{3}+(x-3)^{2}-x^{2}+6,$ and points on $f$ at $x=3$ and $x=5,$ find the point in the interval $3 < x < 5$ where the tangent to the function is equal to the slope between the two points.
Mean_value_theorem_1.png
Figure 2: $P$ is a point on the interval between points $A$ and $B$ where the tangent at $P$ has the same slope as the secant between $A$ and $B$.
Answer: The two points are $A=(3,f(3))$ and $B=(5,f(5)).$ That is, $A=(3,-3)$ and $B=(5,1).$ The slope $m=2.$ The derivative: $f'(x)=6x^{2}-36x+48.$ Now from the mean value theorem we just set the derivative equal to the segment slope and solve for $x.$ $$6x^{2}-36x+48=2$$ $$x=\frac{36\pm\sqrt{(-36)^{2}-4\cdot6\cdot46}}{12}\approx4.1547\quad\text{or}\quad1.8453$$ and only $4.1547$ is in the interval. The point in the interval is $c=(4.1547,f(4.1547))=(4.1547,-6.849).$